package com.gopay.common.domain.bank.outside.gboss.resp.query.validator;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 学历信息
 * @EduInfo.java
 * @author lilili
 * @2016年6月13日 下午2:22:50  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "BIS_QRY_EDU_INFO")
public class EduInfo extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -572405399703273699L;

	/**
	 * 主键
	 */
	@Id
	@SequenceGenerator(name = "BIS_QRY_EDU_INFO_SEQ_GENERATOR", sequenceName = "BIS_QRY_EDU_INFO_SEQ", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "BIS_QRY_EDU_INFO_SEQ_GENERATOR")
	@Column(name = "ID")
	private Long id;
	
	/**
	 * 姓名
	 */
	@Column(name = "NAME")
	private String name;
	
	/**
	 * 证件号
	 */
	@Column(name = "IDENTITY_CODE")
	private String identityCode;
	
	/**
	 * 状态
	 * 0--有数据  1--无数据  其他--异常
	 */
	@Column(name = "STATUS")
	private String status;
	
	/**
	 * 描述
	 */
	@Column(name = "RES_MSG")
	private String resMsg;
	
	/**
	 * 返回数据
	 */
	@Column(name = "RES_DATA")
	private String resData;
	
	/**
	 * 查询日期
	 */
	@Column(name = "QUERY_DATE")
	private Date queryDate;
	
	/**
	 * 创建时间
	 */
	@Column(name = "CREATED_TS")
	private Date createdTs;
	/**
	 * 最后修改时间
	 */
	@Column(name = "LAST_UPD_TS")
	private Date lastUpdTs;
	/**
	 * 乐观锁版本号
	 */
	@Column(name = "VERSION")
	private String version;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentityCode() {
		return identityCode;
	}

	public void setIdentityCode(String identityCode) {
		this.identityCode = identityCode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


	public String getResMsg() {
		return resMsg;
	}

	public void setResMsg(String resMsg) {
		this.resMsg = resMsg;
	}

	public String getResData() {
		return resData;
	}

	public void setResData(String resData) {
		this.resData = resData;
	}

	public Date getQueryDate() {
		return queryDate;
	}

	public void setQueryDate(Date queryDate) {
		this.queryDate = queryDate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreatedTs() {
		return createdTs;
	}

	public void setCreatedTs(Date createdTs) {
		this.createdTs = createdTs;
	}

	public Date getLastUpdTs() {
		return lastUpdTs;
	}

	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	

}
